package com.localization;

import java.util.Date;

public class FxDevice {

    private String mac;
    private String ieee;
    private String port;
    private String deviceId;
    private String status;
    private String deviceName;
    private String power;
    private String rssi;

    private Date onlineTime;
    
    public FxDevice() {
        this.onlineTime = new Date();
    }

    public FxDevice(String mac,String ieee, String port, String deviceId) {
        this.mac = mac;
        this.ieee = ieee;
        this.port = port;
        this.deviceId = deviceId;
        this.onlineTime = new Date();
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public String getIeee() {
        return ieee;
    }

    public void setIeee(String ieee) {
        this.ieee = ieee;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getPower() {
        return power;
    }

    public void setPower(String power) {
        this.power = power;
    }

    public String getRssi() {
        return rssi;
    }

    public void setRssi(String rssi) {
        this.rssi = rssi;
    }

    public Date getOnlineTime() {
        return onlineTime;
    }

    public void setOnlineTime(Date onlineTime) {
        this.onlineTime = onlineTime;
    }

}
